package com.shop.cereshop.app.dao.dl;

import com.shop.cereshop.app.dl.logic.domian.CareShopNewsColumn;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CareShopNewsColumnDAO {
    int deleteByPrimaryKey(Long newsColumnId);

    int insert(CareShopNewsColumn record);

    int insertSelective(CareShopNewsColumn record);

    CareShopNewsColumn selectByPrimaryKey(Long newsColumnId);

    int updateByPrimaryKeySelective(CareShopNewsColumn record);

    int updateByPrimaryKey(CareShopNewsColumn record);

    List<CareShopNewsColumn> getNewsList(@Param("columnId") Long columnId);
}